package com.msb.mall.core.dao.product;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.msb.mall.core.entity.product.SpuInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * spu信息
 * 
 * @author leixu
 * @email xuleiwolf@163.com
 * @date 2024-04-19 10:08:55
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {

    IPage queryPageCondition(@Param("param") Map<String, Object> param, Page<SpuInfoEntity> page);

    void updateSpuStatusUp(@Param("spuId") Long spuId,@Param("code") int code);

}
